package mylab.javainterface;

public class Cow implements Animal{
	private String name;
	public Cow(String nm)
	{
		name=nm;
	}
	
	public void speak()
	{
		System.out.println("The Cow says: Mooooo, I am " + name );
	}

}
